package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司管理对象 base_comp
 * 
 * @author ruoyi
 * @date 2025-08-08
 */
public class BaseComp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自增 */
    private String id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String compName;

    /** 地址 */
    @Excel(name = "地址")
    private String compAddress;

    /** 联系人 */
    @Excel(name = "联系人")
    private String compPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String compPhone;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setCompName(String compName) 
    {
        this.compName = compName;
    }

    public String getCompName() 
    {
        return compName;
    }

    public void setCompAddress(String compAddress) 
    {
        this.compAddress = compAddress;
    }

    public String getCompAddress() 
    {
        return compAddress;
    }

    public void setCompPerson(String compPerson) 
    {
        this.compPerson = compPerson;
    }

    public String getCompPerson() 
    {
        return compPerson;
    }

    public void setCompPhone(String compPhone) 
    {
        this.compPhone = compPhone;
    }

    public String getCompPhone() 
    {
        return compPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("compName", getCompName())
            .append("compAddress", getCompAddress())
            .append("compPerson", getCompPerson())
            .append("compPhone", getCompPhone())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
